package com.qys.livesMall.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.shop.modal.dto.shop.ShopScoreDTO;
import com.qys.livesMall.shop.modal.entity.ShopScore;
import com.qys.livesMall.shop.modal.vo.ShopScoreVO;

/**
 * 店铺评分表(ShopScore)表服务接口
 *
 * @author makejava
 * @since 2023-08-24 15:54:04
 */
public interface ShopScoreService extends IService<ShopScore> {

    /**
     * 对店铺评分
     * @param dto
     */
    void setMark(ShopScoreDTO dto);

    /**
     * 根据店铺id查询评分
     * @param shopId
     * @return
     */
    ShopScoreVO queryMark(Long shopId);

}

